package com.jshcbd.modules.asset.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhoucd
 * @date
 * @description
 */
@Data
public class InventoryItemDto implements Serializable {
    private static final long serialVersionUID = 1L;


    @NotNull
    private String id;

    @ApiModelProperty(value = "盘点状态（1:未盘/2:已盘）")
    @NotNull
    private Integer itemState;

    @ApiModelProperty(value = "资产使用状态（1：正常/2：损坏）")
    @NotNull
    private Integer useState;


    @ApiModelProperty(value = "合同编号")
    @NotNull
    private String contractNamber;

    @ApiModelProperty(value = "资产ID")
    @NotNull
    private String number;

    @ApiModelProperty(value = "批次")
    @NotNull
    private String batch;

    @ApiModelProperty(value = "资产名称")
    @NotNull
    private String name;


    @ApiModelProperty(value = "资产分类名称")
    private String typeName;


    @ApiModelProperty(value = "资产盘点照片")
    private String inventoryPhoto;





}


